#ifndef SETTINGITEMDELEGATE_H
#define SETTINGITEMDELEGATE_H

#include <QStyledItemDelegate>
#include <QObject>

class SettingItemDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    SettingItemDelegate(QWidget *parent = nullptr);
    virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
               const QModelIndex &index) const override;

    virtual QSize sizeHint(const QStyleOptionViewItem &option,
                   const QModelIndex &index) const override;
};

#endif // SETTINGITEMDELEGATE_H
